import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./plugins/element.js";

Vue.config.productionTip = false;

// axios
import axios from "./axios/http";
import VueAxios from "vue-axios";
Vue.use(VueAxios, axios);

// Leaflet
import "leaflet/dist/leaflet.css";

// gps
import gps from "./utils/gps";
Vue.prototype.gps = gps;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
